package hvz.app;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.EditText;

public class ZombieActivity extends Activity {
	
	private Button reportKillBtn;
	private Button missionBtn;
	private Button zMapBtn;

	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.zombie_screen_activity);
		
		reportKillBtn = (Button)findViewById(R.id.zReport_kill_button);
		zMapBtn = (Button)findViewById(R.id.zMap_button);
		missionBtn = (Button)findViewById(R.id.zMissions_button);
		
		zMapBtn.setOnClickListener(new OnClickListener(){
			@Override
			public void onClick(View v) {
				Intent nextScreen = new Intent(getApplicationContext(), GoogleMapsView.class);
				startActivity(nextScreen);
				finish();
				
			}
		});
		
		reportKillBtn.setOnClickListener(new OnClickListener(){
			@Override
			public void onClick(View v) {
				Intent nextScreen  = new Intent(getApplicationContext(), ReportKillActivity.class);
				startActivity(nextScreen);
				finish();
			}
		});
		
		missionBtn.setOnClickListener(new OnClickListener(){
			@Override
			public void onClick(View v) {
				Intent nextScreen  = new Intent(getApplicationContext(), ZombieMissionsActivity.class);
				startActivity(nextScreen);
				finish();
			}
		});
	}
	
}
